<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS Decoration</title>
    <style>
        /*.div1{
            border:1px solid red;
            height:66px;
            width:200px;
            overflow: scroll;   !* hidden ,visible*!
        }*/
        div{
            width: 200px;
            height: 200px;
        }
        .div1{
            border-top-wdith:1px solid black;
            border-top-style: dotted;
            border-top-color: purple;
        }
        .div2{
            border-left-wdith:1px;
            border-left-style: dotted;
            border-left-color: purple;
        }
        .div3{
            border-right-wdith:1px;
            border-right-style: dotted;
            border-right-color: purple;
        }
        .div4{
            border-bottom-wdith:1px;
            border-bottom-style: dotted;
            border-bottom-color: purple;
        }
        .div5{border :1px solid black;}
        div span:nth-child(1){
            color: red;
            font-size: 20px;
        }
        div span:nth-child(3){
            color: #564;
            font-weight: 700;
        }
        div span:nth-child(5){
            color: #798;
            font-style: italic;
        }
        div span:nth-child(7){
            color: #798;
            font-family: "华文彩云";
        }
        div span:nth-child(9){
            color: yellow;
            font: 40px bold italic,"黑体";
        }

        div div:nth-child()
    </style>
</head>
<body>

    <h3>BackGround Set</h3>
    <div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    </div>

    <h3>Content Set</h3>
    <div>
    <span>span1</span><br>
    <span>span2</span><br>
    <span>span3</span><br>
    <span>span4</span><br>
    <span>span5</span><br>
    </div>

    <h2>Border Decoration</h2>
    <div class="div1"></div>
    <div class="div2"></div>
    <div class="div3"></div>
    <div class="div4"></div>
    <div class="div5"></div>


    <h2>Box Decoration</h2>
    <div class="div1">
        查看当前Div盒存储不下的内容，会如何显示
        查看当前Div盒存储不下的内容，会如何显示
        查看当前Div盒存储不下的内容，会如何显示
        查看当前Div盒存储不下的内容，会如何显示
        查看当前Div盒存储不下的内容，会如何显示
        查看当前Div盒存储不下的内容，会如何显示
        查看当前Div盒存储不下的内容，会如何显示
        查看当前Div盒存储不下的内容，会如何显示
    </div>
    <span>这是第二个元素的文字</span>

</body>
</html>